<?php
namespace App\Services\WxMass\Filter;

use App\Services\WxMass\FilterFactory;

/**
 * 全部发送-过滤规则
 * @package App\Services\Filter
 */
class FilterAll extends FilterAbstract
{
    /**
     * 规则存储格式化
     * @param $request
     * @return array
     */
    public function formatInput($request)
    {
        $this->inputType = FilterFactory::INPUT_TYPE_ALL;
        return $this->formatInputData();
    }

    /**
     * 规则输出格式化
     * @param $rule
     * @return array
     */
    public function formatOutput($rule)
    {
        $this->outputType = FilterFactory::OUTPUT_TYPE_ALL;
        return $this->formatOutputData();
    }
}